package com.ecloud.support.generator.model.dto;

import javax.validation.constraints.NotBlank;

import com.ecloud.common.base.model.BaseDto;
import com.ecloud.common.base.valid.ValidGroup.Insert;

import lombok.Getter;
import lombok.Setter;

/**
 * 模板
 *
 * @author LiuGangQiang Create in 2021/04/14
 */
@Getter
@Setter
public class TemplateDto extends BaseDto<String> {
    private static final long serialVersionUID = 7912547981585291572L;
    @NotBlank(message = "{template.templateset.id.not.blank}", groups = { Insert.class })
    private String templateSetId;
    @NotBlank(message = "{template.template.name.not.blank}", groups = { Insert.class })
    private String templateName;
    private String content;
    private String createUser;
    private Integer sort;
    private String remark;
}
